#ifndef __QUEUE_INT_H__
#define __QUEUE_INT_H__

#include "list_int.h"

typedef ListElementType QueueElementType;
typedef struct _Queue* Queue;
typedef struct _Queue {
	LinkedList front;
	LinkedList rear;
}_Queue;

#define QUEUE_ERROR -99999999

Queue queue_create();
Queue queue_free(Queue q);
Queue queue_push(Queue q, QueueElementType x);
QueueElementType queue_pop(Queue q);
int queue_is_empty(Queue q);

#endif //__QUEUE_INT_H__